package com.project.service.impl;

import com.project.bean.LevelBean;
import com.project.dao.ILevelDao;
import com.project.service.ILevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author lyl
 * description:
 */
@Service
@Transactional
public class LevelServiceImpl implements ILevelService {
    @Autowired
    private ILevelDao iLevelDao;

    @Override
    public List<LevelBean> showAll() {
        return iLevelDao.selectList(null);
    }
}
